

import java.io.File;
import java.util.logging.Logger;

public class MainClass
{
	private final static Logger LOGGER = MyLogger.getLogger();

	/**
	 * @param args
	 */

	public static void main(String[] args)
	{
		
		Toolset toolset = Toolset.RathgebUhl;
		File input = new File("a");
		File outputDirectory =  new File("codes/");				

		if (!input.exists())
		{
			LOGGER.warning("The folder " + input + " does not exist");
			return;
		}

		try
		{
			DistanceMatrixCalculator distanceMatrixCalculator = new DistanceMatrixCalculator(toolset, input, outputDirectory);
			distanceMatrixCalculator.calcAllIrisCodes();
//			distanceMatrixCalculator.calcAndStoreDistanceMatrix();
//			distanceMatrixCalculator.readFileFromConsoleOutput();
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}

		LOGGER.info("Finished");

	}

}
